package com.xiaowanzi.transporter.util;

import com.xiaowanzi.transporter.constants.Constants;
import java.util.UUID;

public class SessionIdGenerator {
  public static String generate() {
    String uuid = UUID.randomUUID().toString();
    return uuid.replaceAll("-", "").substring(0, Constants.SESSION_ID_LENGTH);
  }

}
